net/http.http2dataBuffer.expected (field)
6 uses
net/http (current package)
h2_bundle.go#L1098: expected int64 // we expect at least this many bytes in future Write calls (ignored if <= 0)
h2_bundle.go#L1150: if b.expected > want {
h2_bundle.go#L1151: want = b.expected
h2_bundle.go#L1158: b.expected -= int64(n)
h2_bundle.go#L6070: b: &http2dataBuffer{expected: req.ContentLength},
h2_bundle.go#L9724: cs.bufPipe.setBuffer(&http2dataBuffer{expected: res.ContentLength})
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |